#! /usr/bin/pytdon
# -*- coding:utf-8 -*- 


# 协议命令消息定义
CMD_WHOAMI_REQ = 0x0001
CMD_GETCLI_REQ = 0x0002
CMD_HUNGUP_REQ = 0X0003
CMD_GETLOGR_REQ= 0X0004
CMD_EXCHANG_REQ= 0X0005
CMD_SETARGS_REQ= 0X0006
CMD_GETWARN_REQ= 0X0007
CMD_IAMSERV_REQ = 0x0008
CMD_KEEPALIVE_REQ = 0x0009
CMD_BROADCAST_REQ = 0x000A
CMD_CLIERA_REQ = 0x000B
CMD_TESTING_REQ = 0x000C
CMD_UPDATEERA_REQ = 0x000D
CMD_GETCONFIG_REQ = 0x000E
CMD_SETCONFIG_REQ = 0x000F
CMD_GETCFGNAME_REQ = 0x0010
CMD_GETCFGNAME_REQ = 0x0010
CMD_HOCFGNEW_REQ = 0x0011
CMD_SETCONFIG2_REQ = 0x0012
CMD_SETCONFIG3_REQ = 0x0013
CMD_BOOKCFGCHANGE_REQ = 0x0014
CMD_EVNOTIFY_REQ = 0x0015
CMD_SVRREGISTER_REQ = 0x0016
CMD_SVRREGISTER2_REQ = 0x0017
CMD_SVRSEARCH_REQ = 0x0018
CMD_SVRSHOW_REQ = 0x0019
CMD_APPRUNLOG_REQ = 0x001A
CMD_TCP_SVR_REQ = 0x001B
CMD_SVRSTAT_REQ = 0x001C
CMD_WEBCTRL_REQ = 0x001D

CMDID_MID = 0x1000

CMD_WHOAMI_RSP = 0x1001
CMD_GETCLI_RSP = 0x1002
CMD_HUNGUP_RSP = 0X1003
CMD_GETLOGR_RSP= 0X1004
CMD_EXCHANG_RSP= 0X1005
CMD_SETARGS_RSP= 0X1006
CMD_GETWARN_RSP= 0X1007
CMD_IAMSERV_RSP = 0x1008
CMD_KEEPALIVE_RSP = 0x1009
CMD_BROADCAST_RSP = 0x100A
CMD_CLIERA_RSP = 0x100B
CMD_TESTING_RSP = 0x100C
CMD_UPDATEERA_RSP = 0x100D
CMD_GETCONFIG_RSP = 0x100E
CMD_SETCONFIG_RSP = 0x100F
CMD_GETCFGNAME_RSP = 0x1010
CMD_HOCFGNEW_RSP = 0x1011, 
CMD_SETCONFIG2_RSP = 0x1012
CMD_SETCONFIG3_RSP = 0x1013
CMD_BOOKCFGCHANGE_RSP = 0x1014
CMD_EVNOTIFY_RSP = 0x1015
CMD_SVRREGISTER_RSP = 0x1016
CMD_SVRREGISTER2_RSP = 0x1017
CMD_SVRSEARCH_RSP = 0x1018
CMD_SVRSHOW_RSP = 0x1019
CMD_APPRUNLOG_RSP = 0x101A
CMD_TCP_SVR_RSP = 0x101B
CMD_SVRSTAT_RSP = 0x101C
CMD_WEBCTRL_RSP = 0x101D


RECONNECT_MSG = 0x2001